package vn.edu.tdt.it.entity;

import java.util.ArrayList;
import java.util.List;

public class Entity {
	String name;
	String title;
	String type;
	String subClass;
	List<String> propName;
	List<String> propCD;
	List<String> txtName;
	
	public List<String> getTxtName() {
		return txtName;
	}
	public void setTxtName(List<String> txtName) {
		this.txtName = txtName;
	}
	
	public String getSubClass() {
		return subClass;
	}
	public void setSubClass(String subClass) {
		this.subClass = subClass;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Entity(String name, String title, String subClass) {
		this.name = name;
		this.title = title;
		this.subClass = subClass;
		propName = new ArrayList<String>();
		txtName = new ArrayList<String>();
		propCD = new ArrayList<String>();
	}
	public void addPropCD(String pName) {
		propCD.add(pName);
	}
	public List<String> getPropCD() {
		return propCD;
	}
	public void setPropCD(List<String> propCD) {
		this.propCD = propCD;
	}
	public void addProp(String pName) {
		propName.add(pName);
	}
	public void addTxt(String pName) {
		txtName.add(pName);
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public List<String> getPropName() {
		return propName;
	}
	public void setPropName(List<String> propName) {
		this.propName = propName;
	}
	
}
